import request from './request'

export function getAllArticleList() {
  return request({
    url: '/getAllArticleList',
    method: 'get',
  })
}

export function getArticleById(id) {
  return request({
    url: '/getArticleById',
    params: {
      id,
    },
  })
}

export function getTypeInfo() {
  return request({
    url: '/getTypeInfo',
  })
}
